Skip to content

fix: login error outside Colab now says what to do - #9550

Merged
koenvanderveen merged 2 commits into
OpenMined:devfrom
atlaie:fix/auth-error-points-to-docs
Oct 7, 2026
Merged

koenvanderveen merged 2 commits into
OpenMined:devfrom
atlaie:fix/auth-error-points-to-docs

Conversation

@atlaie

@atlaie atlaie commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Logging in outside Colab without a token now raises an error that tells the user to pass token_path=... and points to docs/auth.md (about 15 minutes), closing UX audit findings H-003, H-006, H-008 and AI-003 to AI-006. This is a message-only change in syft/sync/login.py, whose message is shared by sy.login_do, sy.login_ds and sy.login (and reached from syft_rds.login_do / login_ds); the exception type is still NotImplementedError, and the two test assertions in tests/integration/without_unit_coverage/test_login.py were updated from "token path" to "token_path".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@koenvanderveen
koenvanderveen merged commit 8c5e53f into OpenMined:dev Oct 7, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants